/**
 * 
 */
package com.effectiv.crm.repository;

import java.util.List;

import org.springframework.data.mongodb.repository.MongoRepository;

import org.springframework.stereotype.Repository;

import com.effectiv.crm.domain.PickListEntry;


/**
 * @author Dhrubo
 *
 */
@Repository
public interface PickListEntryRepository extends MongoRepository<PickListEntry, String> {
	
	List<PickListEntry> findByDomain(String domain);
	PickListEntry findByDomainAndKey(String domain, String key);

}
